package com.github.wxiaoqi.security.biz.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;


/**
 * 职能表    存储职能信息
 * 
 * @author Mr.AG
 * @email 463540703@qq.com
 * @date 2018-05-16 10:29:10
 */
@Table(name = "bh_function")
public class BhFunction implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //职能ID
    @Id
    private String id;
	
	    //职能名称
    @Column(name = "NAME")
    private String name;
	
	    //父级职能ID  顶级职能0
    @Column(name = "PARENTID")
    private String parentid;
	

	/**
	 * 设置：职能ID
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * 获取：职能ID
	 */
	public String getId() {
		return id;
	}
	/**
	 * 设置：职能名称
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：职能名称
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：父级职能ID  顶级职能0
	 */
	public void setParentid(String parentid) {
		this.parentid = parentid;
	}
	/**
	 * 获取：父级职能ID  顶级职能0
	 */
	public String getParentid() {
		return parentid;
	}
}
